<layout name='./public/layout' />

<article class="blogs">
  <h1 class="t_nav"><span>您当前的位置：<a href="/">首页</a>&nbsp;>&nbsp;<a href="/">学无止境</a>&nbsp;>&nbsp;<a href="/">技术分享</a></span><a href="/" class="n1">网站首页</a><a href="#" class="n2">心得笔记</a></h1>
  <div class="index_about">
    <h2 class="c_titile"> <?php echo $detail['title']?> </h2>
    <p class="box_c"><span class="d_time">发布时间：<?php echo date('Y-m-d',$detail['addtime'])?></span><span>编辑：<a href='mailto:dancesmiling@qq.com'><?php echo $detail['author']?></a></span><span>阅读（<?php echo $detail['arc_click']?>）</span></p>
    
    <ul class="infos">
        <?php echo htmlspecialchars_decode($detail['content'])?>
    </ul>

    <div class="keybq">
    <p><span>关键字词</span>：<?php echo $detail['keywords']?></p>    
    </div>
    <div class="ad"><script type="text/javascript">
/*自定义标签云myqq，创建于2013-8-2*/
var cpro_id = "u1335521";
</script>
<script src="../../../../cpro.baidustatic.com/cpro/ui/c.js" type="text/javascript"></script>

</div>
    <div class="nextinfo">
<p>上一篇：<a href='/'>【匆匆那些年】总结个人博客经历的这四年…</a></p>
<p>下一篇：<a href='/'>返回列表</a></p>
    </div>
    <div class="otherlink">
      <h2>相关文章</h2>
      <ul>
  <?php foreach($xiangguan_arcs as $vvv):?>
      <li><a href="__MODULE__/Article/detail/id/<?php echo $vvv['id']?>" title="<?php echo $vvv['title']?>"> <?php echo $vvv['title']?></a></li>
  <?php endforeach;?>                
      </ul>
    </div>
<div class="blank"></div>
<div class="ad">
<script type="text/javascript">
var cpro_id="u2064486";
(window["cproStyleApi"] = window["cproStyleApi"] || {})[cpro_id]={at:"3",rsi0:"700",rsi1:"250",pat:"6",tn:"baiduCustNativeAD",rss1:"#FFFFFF",conBW:"1",adp:"1",ptt:"0",titFF:"%E5%BE%AE%E8%BD%AF%E9%9B%85%E9%BB%91",titFS:"",rss2:"#000000",titSU:"0",ptbg:"90",piw:"0",pih:"0",ptp:"0"}
</script>
<script src="../../../../cpro.baidustatic.com/cpro/ui/c.js" type="text/javascript"></script></div>
<!-- Duoshuo Comment BEGIN -->
	<div class="ds-thread" data-category="8" data-thread-key="744" 
	data-title="【郑重申明】本站只提供静态模板下载！" data-author-key="" data-url=""></div>
<!-- Duoshuo Comment END -->
  </div>
  <aside class="right">

 <div class="rnav">
      <h2>栏目导航</h2>
      <ul>
  <?php foreach($cats as $type):?>
      <li><a href="__MODULE__/Article/index/id/<?php echo $type['id']?>" ><?php echo $type['catname'];?></a></li>
  <?php endforeach;?>
     </ul>      
    </div>
<div class="rnavs">
      <h2>栏目导航</h2>
      <ul>

        <?php foreach($cats as $type):?>
            <li><a href="__MODULE__/Article/index/id/<?php echo $type['id']?>" ><?php echo $type['catname'];?></a></li>
        <?php endforeach;?>

     </ul>      
    </div>
<div class="blank"></div>
    <div class="news">
      <h3>
        <p>栏目<span>最新</span></p>
      </h3>
      <ul class="rank">
<?php foreach($new_arcs as $v):?>
  <li><a href="__MODULE__/Article/detail/id/<?php echo $v['id']?>" title="<?php echo $v['title']?>" target="_blank"><?php echo $v['title']?></a></li>
<?php endforeach;?>
      </ul>
      <h3 class="ph">
        <p>点击<span>排行</span></p>
      </h3>
  <ul class="paih">
  <?php foreach($click_arcs as $vv):?>
<li><a href="__MODULE__/Article/detail/id/<?php echo $vv['id']?>" title="<?php echo $vv['title']?>" target="_blank"><?php echo $vv['title']?></a></li>
  <?php endforeach;?>
  </ul>

    </div>
<div class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a><a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a></div>
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"1","bdSize":"32"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
<script type="text/javascript">
var cpro_id="u2063915";
(window["cproStyleApi"] = window["cproStyleApi"] || {})[cpro_id]={at:"3",rsi0:"250",rsi1:"250",pat:"6",tn:"baiduCustNativeAD",rss1:"#FFFFFF",conBW:"1",adp:"1",ptt:"1",ptc:"%E7%8C%9C%E4%BD%A0%E6%84%9F%E5%85%B4%E8%B6%A3",ptFS:"14",ptFC:"#000000",ptBC:"#F2F2F2",titFF:"%E5%BE%AE%E8%BD%AF%E9%9B%85%E9%BB%91",titFS:"14",rss2:"#000000",titSU:"0",ptbg:"90",piw:"0",pih:"0",ptp:"0"}
</script>
<script src="../../../../cpro.baidustatic.com/cpro/ui/c.js" type="text/javascript"></script>

    <div class="blank"></div>
<div class="visitors">
      <h3>
        <p>最近访客</p>
      </h3>


<!--多说js加载开始，一个页面只需要加载一次 -->      
<ul class="ds-recent-visitors"  data-num-items="24"></ul>
<script type="text/javascript">
var duoshuoQuery = {short_name:"youngsong"};
(function() {
    var ds = document.createElement('script');
    ds.type = 'text/javascript';ds.async = true;
    ds.src = 'http://static.duoshuo.com/embed.js';
    ds.charset = 'UTF-8';
    (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ds);
})();
</script>
<!--多说js加载结束，一个页面只需要加载一次 -->



<!-- 多说评论框 start -->
  <div class="ds-thread" data-thread-key="<?php echo $vv['id']?>" data-title="<?php echo $vv['title']?>" data-url="__MODULE__/Article/detail/id/<?php echo $vv['id']?>"></div>
<!-- 多说评论框 end -->
<!-- 多说公共JS代码 start (一个网页只需插入一次) -->
<script type="text/javascript">
var duoshuoQuery = {short_name:"youngsong"};
  (function() {
    var ds = document.createElement('script');
    ds.type = 'text/javascript';ds.async = true;
    ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
    ds.charset = 'UTF-8';
    (document.getElementsByTagName('head')[0] 
     || document.getElementsByTagName('body')[0]).appendChild(ds);
  })();
  </script>
<!-- 多说公共JS代码 end -->


    </div>
  </aside>
</article>
<div id="tbox"> <a id="togbook" href="/"></a> <a id="gotop" href="javascript:void(0)" style="display: block;"></a> </div>






</body>
</html>

